﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.PartialModel
{
    public class OperationGroupVendorGridViewModel
    {
        public List<OperationGroupVendorGridRowViewModel> Rows { get; set; }
        public string OperGVendorRoomMessageInfo { get; set; }
        [DisplayName("Provide:")]
        public string RoomListNotes { get; set; }
        public string RoomListEditNotes { get; set; }
        [DisplayName("Porterage:")]
        public bool PorterageFlag { get; set; }
        public string PorterageNotes { get; set; }
        [DisplayName("Pax:")]
        public string TotalPax { get; set; }
        [DisplayName("Room(s):")]
        public string TotalRooms { get; set; }
        [DisplayName("SGL:")]
        public string TotalSgl { get; set; }
        [DisplayName("DBL:")]
        public string TotalDbl { get; set; }
        [DisplayName("TWN:")]
        public string TotalTwn { get; set; }
        [DisplayName("TRPL:")]
        public string TotalTrpl { get; set; }
        [DisplayName("QUD:")]
        public string TotalQud { get; set; }
        [DisplayName("Guide:")]
        public string TotalGuide { get; set; }
        [DisplayName("Driver:")]
        public string TotalDriver { get; set; }
        public List<SelectListItem> GVendorRoomTitles { get; set; }
        // for new line
        public int GVendorGroupID { get; set; }
        public int GVendorVendorID { get; set; }
        public string GVendorVendorName { get; set; }
        public string GVendorArrivalDate { get; set; }
        // remove
        public int GVendorRemoveGroupID { get; set; }
        public int GVendorRemoveVendorID { get; set; }
        public int GVendorRemoveLineNo { get; set; }
        public bool GVendorIsRoomRemove { get; set; }
        
        // grid drop down values
        public List<SelectListItem> GVendorRoomType { get; set; }
        public List<SelectListItem> GVendorRoomTitle { get; set; }
        // for all types
        public List<SelectListItem> GVendorRoomTitleSingle { get; set; }
        public List<SelectListItem> GVendorRoomTitleDouble { get; set; }
        public List<SelectListItem> GVendorRoomTitleTwin { get; set; }
        public List<SelectListItem> GVendorRoomTitleTriple { get; set; }
        public List<SelectListItem> GVendorRoomTitleQuad { get; set; }
        public List<SelectListItem> GVendorRoomTitleDriver { get; set; }
        public List<SelectListItem> GVendorRoomTitleGuide { get; set; }
       
    }
    [Serializable]
    public class OperationGroupVendorGridRowViewModel
    {
        public int GVendorGroupID { get; set; }
        public string GVendorDeleteHtml { get; set; }
        public int GVendorVendorID { get; set; }
        public string GVendorLineNo { get; set; }
        public string GVendorNoOfPerson { get; set; }
        public string GVendorSelectedRoomType { get; set; }
        public string GVendorSelectedRoomTypeID { get; set; }
        public string GVendorSelectedRoomTitle { get; set; }
        public string GVendorNames { get; set; }
        public string GVendorNotes { get; set; }
        public string GVendorArrivalDate { get; set; }
        public string GVendorDepartureDate { get; set; }
        public string RoomType { get; set; }
    }
}